{% extends "base.html" %}

<body>
{% block header %}
{% include "group-menu.html" %}
{% endblock %}

{% block content %}
<div class="wrap">
	{% include "tree.html" %}
    <div class="wrap_left right">
        <div class="shenqing1">
        	<h5 style="float:left;width:96%;margin-bottom:10px;">创建GROUP</h5>
  		</div>
		<div class="caozuo_add">
            <table width="100%" border="0" cellpadding="0" cellspacing="0" >
            <form action="/group/edit/" method="POST">
              <tr>
                <td width="11%" class="textalingR">报警组ID：</td>
                <td width="89%"><input type="text" value="{{ group.id }}" name="id" class="word_in" style="border:1px solid #7F9DB9;"/></td>
              </tr>
              <tr>
                <td width="11%" class="textalingR">报警组名：</td>
                <td width="89%"><input type="text" value="{{ group.name }}" name="name" class="word_in" style="border:1px solid #7F9DB9;"/></td>
              </tr>
              <tr>
                <td class="textalingR">组内成员：</td>
                <td>
                {% for u in ulist %}
                 {% if u.id in check_lst %}
                    <input name="uid" type="checkbox" value="{{ u.id }}"  checked=true class="fuxuan"/>{{ u.username }}&nbsp;
                {%else %}
                    <input name="uid" type="checkbox" value="{{ u.id }}"  class="fuxuan"/>{{ u.username }}&nbsp;
                {% endif %}
                {% endfor %}</td>
              </tr>
              <tr>
                <td class="textalingR">描述信息：</td>
                <td><input type="text" value="{{ group.detail }}" name="detail" class="word_in" style="border:1px solid #7F9DB9;"/></td>
              </tr>
              <tr >
                <td style="height:40px;">&nbsp;</td>
                <td ><input type="submit" class="tijiao_big" value="&nbsp;&nbsp;提交" /></td>
              </tr>
            </form>
            </table>
            </div>
    </div>
</div>

{% endblock %}
</body>
</html>
